home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Examples
/
Demos
/
Fade in⁄out
< prev
next >
Wrap
Text File
|
1998-10-26
|
4KB
|
126 lines
; fade in/out, controller track & multiple tuning scale demo
; to analyze the score double-click high-lighted keywords
(def-orchestra 'orchestra
all-instruments (choir heart)
choir (voices1 voices2 voices3)
heart (heartbeat heartvol)
voices1 (voice1 voice1vol)
voices2 (voice2 voice2vol)
voices3 (voice3 voice3vol)
)
(def-grammar 'minimal-theme
a (a b)
b (b a)
)
(create-tonality aeolic
'(1/1 9/8 32/27 4/3 3/2 128/81 16/9))
(create-tonality hexany15
'(1/1 5/4 4/3 3/2 8/5))
(def-section-timesheet sect-a
; 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81
with 1/1 ; !---!---!---!---!---!---!---!---!---!---!---!---!---!---!---!---
tonality " . " '((hexany15 g# 3 4024) (aeolic g# 3 4024))
voices1 "------------ ------ "
tonality " . " '((aeolic g# 3 4024) (aeolic g# 3 4024))
voices2 " ---------------- ---------- "
tonality " . " '((aeolic g# 3 4024) (hirajoshi d 3 4024))
voices3 " --------- ---------- "
heart "-------- - -------"
;
; bass patterns
;
beat 1/8 ; !---!---!---!---!---!---!---!---!---!---!---!---!---!---!---!---!
heartbeat "- --- " '(a) with '(65 55)
voice1 "--- - --- - " (gen-trans a 4 'minimal-theme) with '(65 55 45 75)
voice2 "- - - - - - - - - - - - - - - - " (gen-trans b 4 'minimal-theme) with '(65 55 65 75)
voice3 "- - - - - - - - " (gen-trans a 4 'minimal-theme) with '(65 55)
)
(def-section sect-a
heartvol
channel 1
symbol '(=)
velocity '(0)
length '(1/16)
controller (gm-controllers
main-volume (do-fades 20 65 0))
voice1vol
channel 2
symbol '(=)
velocity '(0)
length '(1/16)
controller (gm-controllers
main-volume (do-fades 20 55 0 4 6))
voice2vol
channel 3
symbol '(=)
velocity '(0)
length '(1/16)
controller (gm-controllers
main-volume (do-fades 0 54 0 6 6))
voice3vol
channel 4
symbol '(=)
velocity '(0)
length '(1/16)
controller (gm-controllers
main-volume (do-fades 20 64 0 4 6))
heartbeat
channel 1
symbol (align-to-length
(same-as length of heartbeat)
(repeat-symbols 32 (same-as symbol of heartbeat)))
length '(1/8)
duration (calc-duration '1/8 (same-as symbol of heartbeat))
controller (gm-controllers
filter (list (vector-round 50 90 (gen-sin 1 0.3 32))))
voice1
channel 2
velocity '(64 74 64)
symbol (align-to-length
(same-as length of voice1)
(repeat-symbols 32 (same-as symbol of voice1)))
length '(1/8)
duration (calc-duration '1/8 (same-as symbol of voice1))
controller (gm-controllers
filter (list (vector-round 50 90 (gen-sin 1 0.3 32))))
voice2
channel 3
velocity '(64 74 64)
symbol (align-to-length
(same-as length of voice2)
(repeat-symbols 32 (same-as symbol of voice2)))
length '(1/8)
duration (calc-duration '1/8 (same-as symbol of voice2))
controller (gm-controllers
filter (list (vector-round 50 90 (gen-sin 1 0.3 32))))
voice3
channel 4
velocity '(64 74 64)
symbol (align-to-length
(same-as length of voice3)
(repeat-symbols 32 (same-as symbol of voice3)))
length '(1/8)
duration (calc-duration '1/8 (same-as symbol of voice3))
controller (gm-controllers
filter (list (vector-round 50 90 (gen-sin 1 0.3 32))))
)
(def-expression
default ((legato 90 10 0.4) (velocity 10 0.4))
voice3 ((legato 100 10 0.4) (velocity 15 0.4))
)
(def-tempo 60)
(midiport :printer)
(play-file-p "Fade in/out midi"
all-instruments '(sect-a)
)